package edu.jhu.cs.oose.scheduleit.dao;

import org.springframework.dao.DataAccessException;

import edu.jhu.cs.oose.scheduleit.vo.Schedule;
import edu.jhu.cs.oose.scheduleit.vo.UserSchedule;
/** 
 * The DAO class for UserSchedule VO object.
 * @author oosegroup2
 *
 */
public interface UserScheduleDao {
	/**
	 * Responsible for save the userschedule object into the database
	 * @param userSchedule
	 * @throws DataAccessException If there is any other data base exception, an exception will be throw out
	 */
	public void save(UserSchedule userSchedule) throws DataAccessException;
    /**
     * Remove the userschedule object from the database
     * @param schedule
     * @throws DataAccessException If there is any other data base exception, an exception will be throw out
     */
	public void delete(Schedule schedule) throws DataAccessException;
	
}
